package com.firefly.admin.common.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

@Data
@Component
@ConfigurationProperties(prefix = "backups-database")
public class BackupsDatabaseProperties {
    /**
     * 数据库名称
     */
    private String database;
    /**
     * 备份文件地址
     */
    private String filePath;
    /**
     * 需要备份insert语句的表名
     */
    private List<String> insertTables;
}
